package org.shagin.jfin.model.event;

import org.shagin.jfin.data.model.IBudget;
import org.shagin.jfin.data.model.OperationCategory;

/**
 * The Class OperationCategoryEvent.
 */
@SuppressWarnings("serial")
public class OperationCategoryEvent extends BudgetItemEvent<OperationCategory> {

    /**
     * Instantiates a new operation category event.
     * 
     * @param source the source
     * @param budgetItem the budget item
     */
    public OperationCategoryEvent(IBudget source, OperationCategory budgetItem) {
        super(source, budgetItem);
    }

    /**
     * Gets the operation category.
     *
     * @return the operation category
     */
    public OperationCategory getOperationCategory() {
        return getBudgetItem();
    }

}
